package com.hue.springbootvalidation.domain;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @Author: yfq
 * @Date: 2022/8/4 16:10
 * @Description:
 */
@Data
@ToString
public class Dog {
    @NotBlank
    private String name;

    @NotBlank
    private String color;
}
